package sudoku

func makeSudokuGrid(n int) [][]int {
	grid := make([][]int, n)
	for i := range grid {
		grid[i] = make([]int, n)
	}
	return grid
}

// Helper function below
// fill grid to give matrix map
func fillWithGrid(gameMat [][]int, grid GridType) {
	for rowIndex, row := range grid {
		for colIndex, val := range row {
			gameMat[rowIndex][colIndex] = val
		}
	}
}

// fill array to value
func fillVal(array *[10]int, val int) {
	for i := 0; i < 10; i++ {
		array[i] = val
	}
}
